Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.routing.contentView.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.contentView.contrib">

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
    point="contentViews">

    <contentView name="route_past_steps">
      <title>label.document.routing.past.steps</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <parameter>#{currentDocument.id}</parameter>
        <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
        <whereClause docType="TaskDoc">
          <fixedPart>
            nt:targetDocumentId = ? AND 
            nt:processId = ? AND
            ecm:currentLifeCycleState = 'ended'
          </fixedPart>
        </whereClause>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>
      <showFilterForm>false</showFilterForm>
      <showPageSizeSelector>false</showPageSizeSelector>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>documentCreated</event>
        <event>workflowTaskCompleted</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <resultLayouts>
        <layout name="route_content_view_layout" title=""
          translateTitle="" iconPath="" showCSVExport="false"
          showPDFExport="false" />
      </resultLayouts>
    </contentView>
  </extension>
</component>